package com.dy.design_pattern_study.test.impl;

import com.dy.design_pattern_study.test.AlgorithmFactory;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-03-09
 * @Content 加法
 */
public class Addition extends AlgorithmFactory {

    @Override
    public double FactoryInterface(double first, double second) {

        return first + second;
    }
}
